pub fn new_birthday_probability(n: u32) -> f64 {
   
    if n <= 1 {
        return 0.0;
    }

  
    let mut not_same = 1.0;
    for i in 0..n {
        not_same *= (365.0 - i as f64) / 365.0;
    }

    
    1.0 - not_same
}
